#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QtWidgets>
#include "formatmodel.h"
#include "formatview.h"

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = nullptr);
    ~MainWindow();

public Q_SLOTS:
    int onOpenFile();
    int onCloseFile();

private:
    FormatModel *model_{nullptr};
    FormatView  *view_{nullptr};
};
#endif // MAINWINDOW_H
